<form class="layui-form model-form" action="">
	<input name="id" id="id" type="hidden" value="{$info.id|default=0}">
	<div class="layui-form-item">
		<div class="layui-inline">
			<label class="layui-form-label">菜单名称：</label>
			<div class="layui-input-inline">
				<input name="name" value="{$info.name|default=''}" lay-verify="required" autocomplete="off" placeholder="请输入菜单名称" class="layui-input" type="text">
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">菜单图标：</label>
			<div class="layui-input-inline">
				{icon:picker name="icon" value="isset($info['icon']) ? $info['icon'] : 'layui-icon-component'"}
			</div>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-inline">
			<label class="layui-form-label">URL地址：</label>
			<div class="layui-input-inline">
				<input name="url" value="{$info.url|default=''}" autocomplete="off" placeholder="请输入URL地址" class="layui-input" type="text">
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">参数：</label>
			<div class="layui-input-inline">
				<input name="param" value="{$info.param|default=''}" autocomplete="off" placeholder="请输入参数" class="layui-input" type="text">
			</div>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-inline">
			<label class="layui-form-label">菜单类型：</label>
			<div class="layui-input-inline">
				{common:select param="type|1|菜单类型|name|id" data="$typeList" value="isset($info['type']) ? $info['type'] : 0"}
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">上级菜单：</label>
			<div class="layui-input-inline">
				{common:select param="pid|1|上级菜单|name|id" data="$menuList" value="isset($info['pid']) ? $info['pid'] : 0"}
			</div>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-inline">
			<label class="layui-form-label">权限标识：</label>
			<div class="layui-input-inline">
				<input name="permission" value="{$info.permission|default=''}" autocomplete="off" placeholder="请输入权限标识" class="layui-input" type="text">
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">序号：</label>
			<div class="layui-input-inline">
				<input name="sort" value="{$info.sort|default=125}" lay-verify="required|number" autocomplete="off" placeholder="请输入序号" class="layui-input" type="text">
			</div>
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-inline">
			<label class="layui-form-label">是否显示：</label>
			<div class="layui-input-inline">
				{common:switch name="status" title="显示|隐藏" value="isset($info['status']) ? $info['status'] : 1"}
			</div>
		</div>
		<div class="layui-inline">
			<label class="layui-form-label">公共菜单：</label>
			<div class="layui-input-inline">
				{common:switch name="is_public" title="是|否" value="isset($info['is_public']) ? $info['is_public'] : 2"}
			</div>
		</div>
	</div>
	<div class="layui-form-item func layui-hide">
		<label class="layui-form-label">权限节点：</label>
		<div class="layui-input-block">
			{transfer:select param="func|0|全部节点,已赋予节点|name|id|220x350" data="1=列表,5=添加,10=修改,15=删除,20=详情,25=状态,30=批量删除,35=添加子级,40=全部展开,45=全部折叠" value="isset($info['funcList'])?$info['funcList']:[]"}
		</div>
	</div>
	<div class="layui-form-item layui-form-text" style="width:625px;">
		<label class="layui-form-label">备注：</label>
		<div class="layui-input-block">
			<textarea name="note" placeholder="请输入备注" class="layui-textarea">{$info.note|default=''}</textarea>
		</div>
	</div>
	{widget:submit name="submit|立即保存,close|关闭" layFilter="submitForm2"}
</form>